import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import path from 'path'

export default defineConfig({
  plugins: [vue(), vueJsx()],
  resolve:{
    alias:{
      '@': path.resolve(__dirname, './src')
    }
  },
  css: {
    preprocessorOptions: {
      css: {
        additionalData: `@import "./src/global.css";`
      }
    }
  }
})
